package com.dime.physical.mapper;

import java.util.List;
import com.dime.physical.domain.DimePhysicalregister;
import com.dime.physical.domain.dto.InquiryPhysicalregister;
import com.dime.physical.domain.dto.SearchPhysicalregister;

/**
 * 人员登记Mapper接口
 * 
 * @author Tiny
 * @date 2023-09-14
 */
public interface DimePhysicalregisterMapper 
{
    /**
     * 查询人员登记
     * 
     * @param id 人员登记主键
     * @return 人员登记
     */
    public DimePhysicalregister selectDimePhysicalregisterById(String id);

    /**
     * 查询人员登记列表
     * 
     * @param dimePhysicalregister 人员登记
     * @return 人员登记集合
     */
    public List<DimePhysicalregister> selectDimePhysicalregisterList(DimePhysicalregister dimePhysicalregister);

    /**
     * 新增人员登记
     * 
     * @param dimePhysicalregister 人员登记
     * @return 结果
     */
    public int insertDimePhysicalregister(DimePhysicalregister dimePhysicalregister);

    /**
     * 修改人员登记
     * 
     * @param dimePhysicalregister 人员登记
     * @return 结果
     */
    public int updateDimePhysicalregister(DimePhysicalregister dimePhysicalregister);

    /**
     * 删除人员登记
     * 
     * @param id 人员登记主键
     * @return 结果
     */
    public int deleteDimePhysicalregisterById(String id);

    /**
     * 批量删除人员登记
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDimePhysicalregisterByIds(String[] ids);


    public int softdeleteDimePhysicalregisterByIds(String[] ids);

    public DimePhysicalregister selectDimePhysicalregisterByVid(String vid);

    //根据时间端查询登记登记人员信息

    public List<InquiryPhysicalregister> selectRegisterinquirylist(SearchPhysicalregister dimePhysicalregister);

    public List<DimePhysicalregister> selectRegistermainchecklist(SearchPhysicalregister searchPhysicalregister);



    public List<DimePhysicalregister> SearchRegisterlist(SearchPhysicalregister searchPhysicalregister);


    public List<DimePhysicalregister> selectPhysicalRegistersByGroupIds(String[] groupIds);

    public List<DimePhysicalregister> selectPhysicalRegistersByGroupId(String groupId);


    public List<DimePhysicalregister> selectDimeHistoryPhysicalregisterList(DimePhysicalregister dimePhysicalregister);


    List<DimePhysicalregister> searchMainCheckExamineList(SearchPhysicalregister searchPhysicalregister);


    List<DimePhysicalregister> searchMainCheckExamineReportList(SearchPhysicalregister searchPhysicalregister);

    List<DimePhysicalregister> SearchRegisterOccDiseaselist(SearchPhysicalregister searchPhysicalregister);

    List<DimePhysicalregister> SearchRegisterContraindicationslist(SearchPhysicalregister searchPhysicalregister);

    List<DimePhysicalregister> SearchRegisterRecheckCombslist(SearchPhysicalregister searchPhysicalregister);
}
